package com.service;

import com.jfinal.plugin.activerecord.Page;
import com.model.YsUser;

/**
 * @author: lbq
 * @email: 526509994@qq.com
 * @date: 17/4/11
 */
public interface UserService {

	YsUser save(YsUser user);

	void deleteById(Long id);

	void update(YsUser user);

	YsUser findById(Long id);

	Page<YsUser> paginate(int pageNumber, int pageSize);

}
